<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>$!{nickName}的个人主页 - 阿里芝麻网络相册</title>
<link rel="stylesheet" type="text/css" href="css/common.css" />
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/reply.js"></script>
<link href="css/default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">#parse("navigation.html")
#parse("myneck.html")
<div id="page">
<div id="content">
<h1 class="title">我的相册</h1>
#if($!{albumList.size()}!=0) #foreach($album in $albumList)
<div class="clist">
<p><a href="showAlbum.html?albumId=$!{album.id}"><img
	src="readImage.html?id=$!{album.cover}s" /></a></p>
<p><a href="showAlbum.html?albumId=$!{album.id}">$!{album.title}</a></p>
</div>
#end
<div class="clear"></div>
<div class="more"><a href="newAlbum.html">创建相册</a> <a
	href="showAllAlbum.html">查看全部</a></div>
#else
<div class="default"><img src="images/defaultCover.jpg" />你还没有相册。<a
	href="newAlbum.html">点击这里创建相册</a></div>
#end
<h1 class="title">我的图片</h1>
#if($!{imageList.size()}!=0) #foreach($image in $imageList)
<div class="clist">
<p><a href="imageDetail.html?imageId=$!{image.id}"><img
	src="readImage.html?id=$!{image.url}s" /></a></p>
<p><a href="imageDetail.html?imageId=$!{image.id}">$!{image.title}</a></p>
</div>
#end
<div class="clear"></div>
<div class="more"><a href="uploadImage.html">上传图片</a> <a
	href="showAllImage.html">查看全部</a></div>
#else #if($!{albumList.size()}!=0)
<div class="default"><img src="images/defaultImage.jpg" />你还没有图片。<a
	href="uploadImage.html">点击这里上传图片</a></div>
#else
<div class="default"><img src="images/defaultImage.jpg" />你还没有相册，请创建相册后上传图片。</div>
#end #end
<h1 class="title">我的留言板</h1>
<table width="600" align="center" border="0" cellpadding="5"
	cellspacing="0">
	#foreach($guestbook in $guestbookList)
	<tr>
		<td rowspan="3"><img
			src="readImage.html?id=$!{guestbook.headPic}" width="60" height="60"></td>
		<td><b><a href="userHome.html?userId=$!{guestbook.userId}">$!{guestbook.nickName}</a></b>
		&nbsp;&nbsp;&nbsp;&nbsp;$dateTool.format("SHORT",
		$!{guestbook.createTime})&nbsp;&nbsp;&nbsp;&nbsp; <a
			href="deleteGuestbook.html?guestbookId=$!{guestbook.id}&userId=$!{writerId}">删除</a>
		</td>
	</tr>
	<tr>
		<td>$!{guestbook.content}</td>

	</tr>
	<tr>
		<td class="bottomline">#if($!{guestbook.reply})我的回复：$!{guestbook.reply}#else
		<input type="button" onClick="showsubmenu('$!{guestbook.id}')"
			value="回复" /> #end
		<div id="DivDisplay$!{guestbook.id}" style="display: none">
		<form method="post" action="home.html?guestbookId=$!{guestbook.id}">
		<textarea rows="4" cols="30" name="reply"></textarea> <br />
		<input type="submit" name="submit" value="提交" /></form>
		</div>
		</td>
	</tr>
	#end #if($!{guestbookList.size()}==0)
	<tr>
		<td class="default">暂无留言</td>
	</tr>
	#end
</table>
<div class="more"><a
	href="showAllGuestbook.html?userId=$!{userId}">进入留言板</a></div>
</div>
<!-- end content --> #parse("sidebar.html") <!-- end sidebar -->
<div style="clear: both;">&nbsp;</div>
</div>
<!-- end page --> #parse("footer.html")</div>
</body>
</html>
